var Composite = AbstractShape.extend({
    init: function(shapes){
        this._shapes = shapes;
        for(var i = 0 ; i < this._shapes.length ; i++){
            this._shapes[i].setPartOfComposite(true);
        }
    },
    setShapes: function(shapes){
        this._shapes = shapes;
    },
    getShapes: function(){
        return this._shapes;
    }
});